//
//  BaseResponse.h
//  LotteryClient
//
//  Created by SunYu on 14-2-6.
//  Copyright (c) 2014年 SunYu. All rights reserved.
//  服务器响应

#import <Foundation/Foundation.h>
#import "BaseEntity.h"
#define kNetConnectionCode 200

@interface BaseResponse : BaseEntity
AS_STATIC_PROPERTY_INT(baseType)

@property (nonatomic,strong) NSString *requestUrlString;
@property (nonatomic,strong) NSDictionary *requestParamter;


@property (nonatomic,assign)  NSInteger httpResponseCode;
/**
 *  服务器处理成功失败表示
 */
@property (nonatomic,assign) BOOL success;
/**
 *  服务器处理后码值
 */
@property (nonatomic,copy)  NSString *status;
/**
 *  服务器处理描述信息
 */
@property (nonatomic,copy)  NSString *desc;

/**
 *  服务器 返回的json信息
 */
@property (nonatomic,copy)  NSString *resultStr;
/**
 *	所要的 实体
 */
@property (nonatomic,strong) id object;
- (id)initWithResultData:(NSData *)data;

@end